<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:s="http://jboss.com/products/seam/taglib" contentType="text/html"
	xmlns:rich="http://richfaces.org/rich">

	<rich:panel rendered="#{not empty linkPatrocinadoCtrl.linkPatrocinadoList}">
		<f:facet name="header">
			<h:outputText value="#{messages.linksPatrocinados}" />
		</f:facet>
		<rich:dataList var="linkPatrocinado" value="#{linkPatrocinadoCtrl.linkPatrocinadoList}">
			<s:link action="#{linkPatrocinadoCtrl.ler}" target="_blank">
				<f:param name="linkPatrocinadoId" value="#{linkPatrocinado.id}"/>
				<h:outputText value="#{linkPatrocinado.titulo}" styleClass="label" />
			</s:link>
			<br />
			<h:outputText value="#{linkPatrocinado.texto}" />
		</rich:dataList>
	</rich:panel>
</ui:composition>
